Throw an exception if HEAD's scope is undefined