Fix for QGIS server template
Better installation routine for inasafe