bridge: When expanding package variables, use package names

Use the real package names when expanding package variables, if
not using checksums.

Closes #1401
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>