diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index 149fafd92a6fc5e573551cff66ddf8ea074496dc..1fba11039b6af5ab304a4c3c693ffb7cc0864369 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -1486,6 +1486,10 @@ class project extends base {
 
 
         if (isset($this->_aConfig['projects']['json']['active']) && $this->_aConfig['projects']['json']['active']) {
+            $sCfgfile=$this->_getConfigFile($sId);
+            if (!$sCfgfile || !file_exists($sCfgfile)){
+                return false;
+            }
             $this->_aPrjConfig = json_decode(file_get_contents($this->_getConfigFile($sId)), true);
         }
         if (isset($this->_aConfig['projects']['ldap']['active']) && $this->_aConfig['projects']['ldap']['active']) {
diff --git a/shellscripts/api-imlciserver.sh b/shellscripts/api-imlciserver.sh
index d92f202be98c9e8a5a9b2c5020e13a874c410a07..099e7ff339160fff9028115bc2cfdf484cb1c9f2 100755
--- a/shellscripts/api-imlciserver.sh
+++ b/shellscripts/api-imlciserver.sh
@@ -93,7 +93,7 @@ ${apiTS}
       ${IMLCI_URL}${apiRequest} | tee -a $outfile
   fi
 
-  grep "^HTTP\/" $outfile | head -1 | grep " 200 " >/dev/null
+  grep "^HTTP/" $outfile | head -1 | grep " 200 " >/dev/null
   local rccurl=$?
 
   rm -f $outfile