Resolve NME path properly