Mocking is_supported() in test_repository_info

The test_repository_info unit test for Perforce only passes if 'p4 help' can
run successfully (ie, perforce is both present and properly configured). This
is obviously inappropriate for a unit test.

Reviewed at https://reviews.reviewboard.org/r/4249/