Fixed bug if repository is cloned but fetch is not called yet.