Don't return basic manager when scripting is disabled.

Change-Id: I782bb4071f89555d93aa87e5b1b28194c907633d
Avoid handling basic manager etc when the embedded scripts are disabled.

This saves a bit of time.

Change-Id: If49f514f6e927830b1f45f4c34587d92429decc5