Fixed longstanding bug in the open-dev infrastructure, which left dangling (unclosed) instance chains when path resolution fails.