Fix local manifest

Makes sure correct the branch is fetched, especially for the kernel