Minor Fix to RMModel

Better catching of possible empty or null strings.