fix incorrectly detecting missing key in lastfm plugin

closes #333