Fix handling of packages with no configurations. See also #99.