Should we raise SaltInvocationError instead? This code logs an error and returns an empty dict.