Related to #3, now using _.defaults in getRepo