case of repo change to nil
Merge pull request #200 from apatel/master

case of repo change to nil