Regex matching for SHA-1 contains a copy-paste error which leads to revision not being set properly.
Furthermore this causes EJBCA to timeout on deploy (See linked issue).
- Fix the regex
- Make sure the process fails if git revision isn't set. Either by Dreleaes.revision or automatically using git rev-parse HEAD