add path separator to home dir if missing