only pop the config if there is main code (otherwise, there's nothing to pop and get an exception)
only pop the config if there is main code (otherwise, there's nothing to pop and get an exception)

thomasvs/pychecker,thomasvs/pychecker,akaihola/PyChecker,akaihola/PyChecker