configure: Handle packages with multiple sources

Signed-off-by: Euan Harris <euan.harris@citrix.com>