Support "kpm pack" packing project root when '--wwwroot' is "."

@davidfowl , fixing a bug in `kpm pack --wwwroot`. If you specify `.` as the value of `--wwwroot`, `kpm pack` should pack the project root dir.