(refs #514) Fix problems of renaming repository.
Merge pull request #515 from mrkm4ntr/hotfix-514

(refs #514) Fix problems of renaming repository.