Enhancements to get deploys by environment