Handle project variables with curly braces in app commands
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
Snapcraft should not fail when project variables with curly braces are used in app commands.
### Why it needs to get done
This is a regression. Prior to https://github.com/canonical/snapcraft/pull/5183, Snapcraft used to allow:
```yaml
apps:
my-app:
command: bin/${SNAPCRAFT_PROJECT_NAME}
```
Evaluation history
No evaluation history available.