pkg_install: support only single "subtarget" directory

Support only single "subtarget" directory.
pkg_install: remove files when they are installed

Remove files when they are installed.