Reduce code repetition in failure exit from decrypt().

.gitlab-ci.yml not found in this commit