don't throw errors for server side require`s

it's handled for local components different than for remotes
this change handle it uniform