Fixes for Web Interface

1) Fix empty facility crashes. 
2) Also fixed the way the translator forms packages for custom metafiles