Fix for branches with no upstream