Quote action strings before passing to registry

If an id contains a space it needs to be quoted when making a
request to registry.

Fixes bug 1111948

Change-Id: Ic2250cdcf58d439f344d42e2f59577884343cd19
Merge "Quote action strings before passing to registry"