When name attribute of deployment is an empty
string, dict.get will return that empty string
instead of returning the default value set in
the second param of dict.get(first, second).
This patch fixes it by returning the default
value.
Change-Id: I7b48414fd18e01594f6d9b0d106c2abb71b7f676
Related-Bug: #1755078
(cherry picked from commit 204947c908)