Fixed the 'os is not defined' bug which occurs if you don't have python-nfqueue installed.