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