Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Bastian Zimmermann <b3368e04b7e3b52fc729c766328505e730c1c698@users.noreply.github.com>
jakirkham/staged-recipes,goanpeca/staged-recipes,conda-forge/staged-recipes,ocefpaf/staged-recipes,conda-forge/staged-recipes,johanneskoester/staged-recipes,ocefpaf/staged-recipes,johanneskoester/staged-recipes,jakirkham/staged-recipes,goanpeca/staged-recipes