Make the rake import_projects task work again

王权利请求将github/fork/russss/master合并到master

Created by: russss

Somewhere in the last month or so, this task has been completely broken, with the error: "ERROR: Failed to create project #Project:0xab74e18 because [:owner, "can't be blank"]"

This pull request makes it work again, and also makes it work properly if the bare repositories you're importing end in ".git".

合并请求报告