Improve Unite plugin detection