Fix problem with '~' is not translated correctly as home directory