Don't trigger a scan when the target path is empty.
On Windows we have to make sure the audiodir variable is escaped in the regex, as the backslashes can invalidate it.

Change-Id: Icda080ea77407183f17952ec8fc1d4c905ee3014