Guarantee cvmfs locks dir does not exist.
Fix bug where * was not substituted correctly for repo_name.