Fix for Exception when using $ARTIFACT_NAME

Pushing pull request:
https://github.com/jhmartin/jenkins-rundeck-plugin/commit/6aed3bb97aa2c1136a65fbc6446d980509e71f09
against upstream.  Without this fix $ARTIFACT_NAME{regex} will throw an exception if regex matches.