Make the mock part work with git2go