Make set operation on an empty configuration throw exception

parent #96