First of all there was missing ']'. Bu additionally change that rule to detect partitioned loop devices instead of device-mapper. (cherry picked from commit 68bbd408d7)
68bbd408d7