The whole purpose of this regex is to get the device name without the leading `/dev/` so it should be greedy; in fact, I think we should probably just change it to `/^\/dev\/(.+)$/`. Also, this code is not necessarily just for AWS EC2, but also any other cloud that has the same block device mapping information in its metadata such as OpenStack.