purge: prevent a silly crash with --confirm --files
if --files is passed, there was no directory to checks and `msg` was undefined.
This is now fixed and tested.
Greg Ward, author of the original bfiles extensionNa'Tosha Bard of Unity TechnologiesFog Creek SoftwareSpecial thanks to the University of Toronto and the UCOSP program