Snippet Pull_repo - update location detection