Use a map to do the log replacements.
Use a map to do the log replacements.

By using this method, we don't repeat the commands twice.
This is nice because if we ever change the arguments in
the future, the actual command and the logged command won't
get out of sync.

Signed-off-by: Chris Lalancette <60b62644009db6b194cc0445b64e9b27bb26433a@redhat.com>

redhat-imaging/imagefactory,LalatenduMohanty/imagefactory,jmcabandara/imagefactory,LalatenduMohanty/imagefactory,redhat-imaging/imagefactory,henrysher/imagefactory,jmcabandara/imagefactory,henrysher/imagefactory