X: bridge: When expanding package variables, use package names

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