Only write jmx python status file if there are invalid jmx checks

Fix #841