Fix metrics import whem metrics is disabled