OVT-7653: Fixed non-redirecting import and nullpointer when importing valueless and uriless codeelement.