setup: document check_repository_format()