[core] Fix the implementation of get_configurations

Return properly the values set, and not only the default configuration