Redmine#4535: improve logging on loading extensions

see https://cfengine.com/dev/issues/4535 and #1431