Make the CD ripper clean up after itself.
Only remove the temporary directory if it has a non-empty name.
Merge pull request #4168 from paperbagcorner/ripcd-clean-tmpfiles

Make the CD ripper clean up after itself