NXP-14630: fix hot-reload of non-VCS repositories (MongoDB)