TDQ-9405:TDQ-9476: fix a NPE after reload and revert the last review
mofidy code caused to rerun analysis get error