locate: only allow file switching when looking for fully qualified paths