util/path.c/follow_path() does not handle "/" well