Fix checking for push/pull with linked projects