Refactor to only calculate versions dir once.
Refactor to only calculate versions dir once.

Signed-off-by: Andrew Meyer <8f92422f5861fc9f31873f75dd770facd670512b@pivotal.io>

cloudfoundry-community/asp.net5-buildpack