Cannot determine package type until after required tap installed
If a package requires a tap that is not yet installed, then the package type cannot be determined and it will not be installed until the second role converge.
The order of tasks is currently wrong - required taps should be installed prior to determining the package type.