[api] allow multiple definitions for one package in a channel
[api] fix channel creation for channels with defined release targets