Fix boolean bork in Router.add

Should only throw if `path` fails both cases.
Merge pull request #1 from gthb/patch-1

Fix boolean bork in Router.add