Added check for the report directory's parent for better error handling.
Added check for the report directory's parent for better error handling.

maliciamrg/diskusagereports,amekkawi/diskusagereports,maliciamrg/diskusagereports,maliciamrg/diskusagereports,maliciamrg/diskusagereports,amekkawi/diskusagereports,amekkawi/diskusagereports