I belive that you should add this line in `before_script` instead `before_install`.