Make injection code more robust

 - If the integration script could not be loaded don't
   try to continue with injecting.
 - Make sure that in case of an error the integration
   is not enabled.