Prevent crash if github information are stored as refs

Use case: https://gist.github.com/3342247