Make the shorthand expansion more strict to allow non-Github repos