add support for null pull.repo.head's, primarily so they can be closed
switch gdc build to a 4.9 snapshot