Fixed NPE when no report directory exists