Use Models::ReleaseVersion to get package from name

Avoids duplication

[#55022292]

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Prefer single quotes for non-interpolated strings

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Use dependency lookup on ReleaseVersion model during compilation

Avoids duplication
[#55022292]

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>