Remove null remote reference