added sanity checks for PATH variable in g2sagemathdata.py