Error when upgrading to 7.2.2

When upgrading to 7.2.2 from 7.1.4 I get the following error at the end:
Fatal error: Class name must be a valid object or a string in /var/www/html/sugar/ivy_sc_live/include/SubPanel/SubPanelDefinitions.php on line 503

If I refresh the page the error disappears

Is this something I should be worried about?

I absolutely agree. That also has happens for other files such as last logic hooks. We allways have to dig into the zip file to check what will be overwritten by an upgrade and that’s tedious.
It would be good to have Core features in the modules directory rather than in the custom directory.