pkgix: Check cp exit code in install

Signed-off-by: Marco Elver <me@marcoelver.com>