pep8 and logic fix for commit 36136c1

1. Didn't catch in validation pep8 1.4.6 violation
2. Didn't catch wrong group validation on my environment
3. Fix isconfigured tests

Change-Id: Ie0f08ca619415275fb15a1ebd63e5f25e97a0753
Signed-off-by: Yaniv Bronhaim <ybronhei@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/28488
Reviewed-by: Piotr Kliczewski <piotr.kliczewski@gmail.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>