Fix "Call to a member function getPathname() on a non-object" 

Fix "Call to a member function getPathname() on a non-object"  when using STAPLER_NULL to remove an attachment.