fix integration.test_repository

public repository checkId now detects more security violations