[api] avoid diffing not yet existing packages

when creating submit requests with given target