This fix handles lines in `.env` files which have been deliberately commented out, eg
.env
This is a comment
MY_SECRET_USERNAME=something-very-secret
MY_SECRET_PASSWORD=IqLTLrFviwHTDKWGZoR7uB2JtM1wjwE34MBwoztE
This would previously have appended an `=` to the comment:
.env
This is a comment=
MY_SECRET_USERNAME=
MY_SECRET_PASSWORD=
but will now be properly stripped as:
.env
This is a comment
MY_SECRET_USERNAME=
MY_SECRET_PASSWORD=