Enables check and removes extra pass statement from code. Reviewed-By: Jan Cholasta <jcholast@redhat.com>