Fix finalConfigurations return value
Remove unused use