Added case to avoid running  when corresponding partition is mounted

The ${valid_fsuuid} should do the job, but unfortunately that doesn't work here.
So I suppose the mount test is a good fail safe.