fix integration.test_repository

public repository checkId now detects more security violations
Merge pull request #1872 from mtbc/trac-11610-fix-test_repository

fix integration.test_repository