only use require_dependency on local files

This dramatically reduces warning noise in server log.