handle invalid report dir for func tests