Remove system property if it no longer has a value.
Expose "publishedVersion" as a system attribute.