Fix repo symlink check.
Merge pull request #38 from calavera/fix_repo_dir_check

Fix repo symlink check.