spotify: Fix errors after switch to new config system
main: Make sure 'extensions' is defined before 'finally' block is executed