I really cannot think of a usecase where someone would do: SRC_URI="foo-bar-gaybar-baz.tar.gz" but not set RESTRICT="fetch" if there is none... we should emit a warning
pkgcheck already reports it (missing uri + missing restrict fetch) using https://pkgcore.github.io/pkgcheck/man/pkgcheck.html#missinguri