Update Nagstamon/nagstamon.py

reverted env check to python as all platforms know this