partial undo of a4a4696: BUILDPACK_URL must not be blacklisted
parse optional '.git' in BUILDPACK_URL when determining branch
bump imagemagick version for builds
fix mirror URL so we can grab archived releases too when building PHP