Clean up and simplify Repository::statuses