Avoid failing if COMPOSER env var is empty, refs #1720