build/repositories: list available pools if fail to attach

When failing to attach to a pool, it's useful to have the list of the
available pools that we can attach to.