A bit better error messages for bundles and fixed loading of schema