Core/Scripts: log ScriptNames assigned in database without core script

(cherry picked from commit cc4ebdbe059358cac997e783b2fddc6cff4c831b)