Fix publication (#1901)

Revert changing `System.getEnv` to `providers.systemProperty` in commit f803480c9ddc0492ad91ba168502a9767e347ad2
1 file changed