Only do code update if local folder is a repo clone