admin scripts: fixed detsction of debug mode in gislab-logs (closes #258)