Allow curl to redirect and fix current url of cpanm