Minor fix in the packager for when the directory contains a space.