testing: Improve git fetch handling to support refspec

For PR testing we need to download quite a different refspec, this patch
provides a better refspec for PR handling.

Signed-off-by: Ken Barber <ken@bob.sh>