Redmine#3429: improve copy+purge acceptance test, fix bug, and improve message
Merge pull request #1043 from tzz/feature/3429-purge-empty-directories

Redmine#3429: improve copy+purge acceptance test, fix bug, and improve message