Make youcomplete me PATH workaround a bit more robust