Fix "Could not read from remote repository" issue

As per http://stackoverflow.com/questions/8197089/fatal-error-when-updating-submodule-using-git