Add .gitignore file
Fixed a bug that mentioned on card #1
Find namespace for a repository, this may fix the bug mentioned in card #3
Find namespace correctly to  fix the bug mentioned in card #3
Completely fix the bug mentioned in card #3 add update the .gitignore
Update .gitignore again
Merge pull request #2 from antmanler/master

Backport @antmanler 's patch.