Fix bug when trying to guess fork

Remember to check whether the repository we are guessing is a fork, well, is actually a fork. :smirk: