check_log.sh: droping path from basename
while evaluating PROGNAME (Closes Debian Bug #758662)
Setting PATH at first