Fix _fm_vfs_search_resolve_relative_path(), it was broken completely.