Fix memory corruption if www was passed directly in manifest

Conflicts:
	libpkg/pkg_create.c