Read the has-github value from the defaults file

Currently, setting has-github in the defaults file will be ignored.
This change will check for a default value in the correct location.

Change-Id: I24e6d5ec17287898b6bd064c515ca318b91924d5