scripts: dailytest: fix obtaining current script directory