Fixing the v2 git plugin, works when not providing name or refspec