Fix before_install cd