[require] Check the body argument to see if it's a function before trying to call .apply on it in a multi-dependency require statement