Error for pkg'd apps without origin (bug 1109946)

@mstriemer r?
You could do the raw check against `undefined` here too.