fixes #2114 Add warning if no environments found