We have to use the name and cannot rely on the identifier, since
they can be random UUID values.
This also fixes a wrong folder name in the paste confirm message.
Change-Id: I092efdc5b666c9010717136bc063b155479eadab
Resolves: #64759
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/39641
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>