Fix for shadowing in Shoal Agent config parser.

Config parsers for shoal should be refactored into classes or at least
remove shaowing issues that could arise from forgetting to declare a
variable global in the setup function.