[action/deploy/environment] fix missing environment validation

Broken by the rewrite to visitor in
  f894a9dfb2cbefc88b3d5827f4af29a059c8f301

Question is: should we do a test for that? :)

The current test only checks if the .validate call fails on something, not if it is called.