For sles.pm, clean up the $path variable to remove multiple slash
and trailing slash.
In debian.pm , move the check for -p and -w further down so it does
not appear unless we have decided that debian is the image we are
copying. The message is misleading when copycds is run for non
ubuntu/debian OSes