Fix faulty path concatenation with multiple calls