Fix incorrect remote paths and branches