Preventing empty config lines from crashing script

If you had an empty third line in your config file the script would throw an exception and die.
This will just check to ensure there is actually a key before trying to use it.