Fixing a fatal error that occured with the cli command.
Fixing a bug that prevented the installation through the CLI with, at least, PostgreSQL.
Fixing a bug: the CLI installer was not able to write the 'installed' file if it does not exist even if the user has the right to write in the directory.
Merge pull request #292 from Elioty/master

Few fixes to problems with the CLI installation