path: Merge append_path into path_append.

Just check if the path to append is "." in path_append.

WARNING: This changes the behaviour some vim features, like globpath, to
return "dir/" instead of "dir/.".