Fix require bug in Service

A new bug was inserted in 08df3056420fa509079704e9e2ac2dd3a04b987e making the loading fail.