CMFM: Fix NPE when parent dir is null

Change-Id: Ic31130412d332a486df7e0e891f6097e2d1f9276
Signed-off-by: jruesga <jorge@ruesga.com>
Merge "CMFM: Fix NPE when parent dir is null" into cm-10.1