RMImport: Simplify code by presuming upon setdefault() being properly used