Fix problem of adding device without alias

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #10 from pauldu/master

Fix problem of adding device without alias