Convert dependencies to formulas for name matching

Dependency names are prefixed with the tap location, therefore
dependency names do not match formula names. We convert dependencies
into formulas to ensure proper name checking.

Closes #35058.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>