Fix an error when guessRepo does not return a promise (fixes #12)
2.1.1