fix for cleaning the working directory for packages without version (e.g.: initramfs)