Only run confenv config print if cmd is defined