Only try to parse input src if is.string(src)

This was causing https://github.com/facebook/regenerator tests to fail on `src.split` after I tried upgrading to `defs` v0.6.1.