CMFM: Fix invalid initial directory

Some paths, like /data/media/0, are being reported as invalid by libcore. Use a double check
to detect these invalid paths

Change-Id: I0f578b3e60849ab53c877daaee7c9577fc0c83dc
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>