Changed the non-globbing version of glob_expand_one() so that it