CRAFTERCMS-38
Delete site was not working properly due to NPE when removing legacy forms and model repository (old forms engine)