Fix empty gmvs

Currently, if no ground motion fields are passed, event based and scenario calculators will fail. This change fixes this bug.