Make it work with the latest dokku
Fix perl locale warnings