Allow several modules to be bound to the repository

Thanks @magnet to have spotted the bug, I've introduced.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>