check if we have an active profile in session
check if we have an active profile in session

This bay be empty with use of cli_install.php and can be set when using
the --as-user <username> arguments with this script.

TECLIB/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,orthagh/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,TECLIB/fusioninventory-for-glpi,dethegeek/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi,itinside/fusioninventory-for-glpi