don't show empty revert dialog after reverting a hijacked file (IDEA-80577)