extracting no restart policy into chrooted build script