Fix re.match gets None error
Fix re.match gets None error

if CMDLINE_NEW is not on env we are setting it to
None, this wan't a problem till now because it was
never used with re.
patch: https://gerrit.ovirt.org/#/c/102372/
changed that and if CMDLINE_is not set we are
tring to match a re to None which will
produce an error:
py3 --> TypeError: expected string or bytes-like object
py2 --> TypeError: expected string or buffer

Change-Id: I2edf1f5261af1770730679cd7c69519891a89529
Signed-off-by: Gal Zaidman <efc2634d74d32200b8679e5da808351d0e5c0de0@redhat.com>
Bug-url: https://bugzilla.redhat.com/show_bug.cgi?id=1747787

oVirt/ovirt-host-deploy,oVirt/ovirt-host-deploy,oVirt/ovirt-host-deploy