Fix github provider fetch method.

Several return statements were missing.