Fix rake test to import Github repositories
What does this MR do?
Fetch the Github repository as a mirror rather than cloning it to get all references.
Why was this MR needed?
Without these changes, the importer will not be able to import pull requests that branches were removed or it is from a fork.
/cc @jameslopez