Some late night improvements.

configuration.Configuration's constructor now has saner parameters.
Removed the possibility to have duplicate packages in 'available'.
Fixed an error in a regular expression.