That's pretty standard. There are two things you can drop if you want:

    echo No .env file found >&2