You could also bail out early with a `return if buildpack && buildpack.locked` statement right after this line. Then you could remove each of the `!buildpack.locked` conditionals later.