packaging: fixing fqdn validation

if _getPatternFromNslookup returns an empty set,
the validation will have caused a traceback.

Change-Id: I4bf1385fbb1770c990c4b31c59d829ce91e4ed00
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>