Streamlined REDISTOGO (Heroku) configuration logic.

The same logic existed several lines below. Condensed following DRY principle.