Run config refactoring listener directory rename awareness.

Adds support for directory renames.