Change directory during before_install