Update hack/dind to match the rest of our scripts

No functional changes here, just coding style and maintainability.