Get the guard with STAGING_WRITECOPY env var back as the patchset is currently causing some regressions.