There's a lot of cargo-culting here from the package provider itself. To be honest, I think the `else` clause should actually be unnecessary, and treated as an error