Bugfixing for invalid folder check when try to parse folders defined in context.xml for servlets