The `or` condition is simply the wrong way around, the `target` attribute should be honoured before the program name.
mentioned in commit 615c188a