Fixed handling of error if empty or non-existing folder is set as reports folder