Fixed issue with cli-config if it doesn't exist.
Removed unnecessary variable.