Fixes Github api error when using the generator offline