If someone passes just one ref (i.e. "master") and misses passing the range we should be nice and return an error code instead of crashing.