fix issue on command line when thelia is still not installed