Revert "Redmine#4755: directory tagging fixes, always generate release_id"

This reverts commit b5a1ee4cd9a2b5dd0979afca0d63c182d3d89a96. Acceptance
tests started failing after this, reverting to find out if this is indeed
the culprit.