playlist: fix handling of undefined currentsong