Refactor if statement to early return

This eliminates the protracted if statement and aligns the code body.

See https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/chromecast/chromecast_youtube.rb#L46.

Argue the pros and cons of returning early elsewhere! :)