fix #928 deployments list failed due to malformed xml

For this S25qfe milestone, we decided to do one off fix to address this specific scenario.  There are two others related issues in S26 milestone (#909, #927) to address overall issues (requires more surgical changes).