Default values for variables solves this issue.
The expression ${userId:-bob} will yield "bob". However, if the system property userId is defined to be "alice", then the aforementioned expression will yield "alice".