BLD: remove after_script since it does not exist anymore

closes #3857