Fix replace of legacy package.
Fix branch alias.