You are right, but that would be really uncommon to be on Addon builder website and do not have any browser window opened ;-)
Having said that, I'm not against adding an `if`.