[action/deploy/environment] fix missing environment validation

Broken by the rewrite to visitor in
  f894a9dfb2cbefc88b3d5827f4af29a059c8f301
Merge pull request #238 from lazyfrosch/fix/environment-validation

[action/deploy/environment] fix missing environment validation