fix infinite recursion during bad metadata container handling
use windows specific subl location
test