Adapt bin/ci/before_build to be functionally equivalent to the old version, drop .sh