When i tried to import a GIT repository from one of my own server (using GitBlit). There was an error during import :
/info/refs not found: did you run git update-server-info on the server?
The reason was a space at the end of the repository URL.
I think that you can just trim the posted value.
Not a Big issue but quite embarrassing.
I really like BitBucket !!!