fix(container/jmx): do not treat folders in process scanning

fixes #CAM-1787