Add support for creating packages for external repos

This allows us, for example, to create source packages for repositories
that are not part of qt5.git.

Change-Id: I7f2d08b143da000d8dd5d0db3bcfc477b3a5eae8
Reviewed-by: Antti Kokko <antti.kokko@digia.com>