MD device is using the disk interface for name parsing so we need
to check if we're parsing a disk or md device.
Fixes: 33bbe5ddcbbc ("stand: parsedev API change: devspec now points to start of full device name")
Sponsored by: Beckhoff Automation GmbH & Co. KG
MFC after: now