Fixed possibly E_NOTICE when site has no extension packages installed