improve dirname.lua by returning an empty string when no directory path found
stop mpd.service when unmounting private partition