Added check if the process owner is the fileowner for chmod.
Included check if the value of a XML Entry is empty, there is a issue in the XML Parser somewhere I couldn't find.