BF: Fix bad syntax in badips.py action

Taken from https://bugzilla.redhat.com/attachment.cgi?id=895966&action=diff