Use existing languages instead of predefined list

When the --languages parameter is not specified, let's work on existing
languages instead of using a predefined list.