FilenameTabCompleter correctly recognizes '~' in the file path. But deploy handler it self doesn't, so these paths will fail at the end.