./launcher rebuild command fails when app.yml contains a long env variable

Have you tried using multiline YAML instead?