fixes #8598 - fixing repository delete
current user was not set during finalize phase
Merge pull request #4888 from jlsherrill/8598

fixes #8598 - fixing repository delete