fix proper environment on aptly execute