Add missing return statement.

Caused a panic when repo could not be reached.