pkgix: source_pkg should set repo local if prefer_repo is set

If prefer_repo is set in source_pkt(), it is assumed that it is called
from another package description file, in which case repo should not be
overwritten globally.

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