Removes duplicate sandbox variable processing

Removes duplicate sandbox variable processing since it will lead to issues if the user sets the sandbox variable to an empty string on a live environment. The sandbox will be always set to true if an empty string is supplied in the config file as sandbox var.