Check for theme existence correctly

@tareiking cleaned this up slightly in #61, but still needs a bit of a fix up.