fixed problem when showing WPS info from workspace page

This fixes an error that appeared when doing:

1. open any workspace
2. click on the WPS checkbox
3. click on the WPS link that appears

That caused a NPE exception to be thrown