osc build --local-package
Check if opts.local_package is set before attempting to read content of the local package store or access data obtained from it. This fixes issue #1612. Signed-off-by: Egbert Eich <eich@suse.com>