Added some safety nets around users using older version of gitlab

 - some of the metadata only exists in gitlab 7.4/7.5 and onwards, so don't expose those values unless they're set.

This is getting ugly, quickly. :-(