Fixed the installer error when the config file cannot be created

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>