Simplify logic in RepoCommand

Instead of negative testing before return null, check for when the
command should be enabled and format the string only in this case.

Change-Id: I9fcbf902d62cc76965707a005f0572a8bf75e28f
1 file changed
tree: b9aae8c566c71e548f655e86034fba4a441198b0
  1. src/
  2. BUCK
  3. LICENSE