Redmine#4609: explicitly report empty scalars out of range

see https://cfengine.com/dev/issues/4609

Reports specifically if an empty scalar is out of range.