Introduce propagateSystemProperties, fix #977