CLOUDIFY-1660 fix bug where wrong memory capacity was configured for deployment