Really fix failure to swap ROMs if it has filenames starting with a dot

Change-Id: I67bc6052763a72af6a9a9abe00ce3b51f2046890