When reformatting labels, protect against entries without other labels.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
fixed job related unit tests using ignore_site_file option

when testing invalid parameters in the cli, we should not use
 --ignore_site_file option as it will cause the test to fail
regardless of anything else specified thus creating false
positive tests

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>