GIS.lab Web Plugin: fixed crashing when publishing an empty projects (closes #249)