ensure exec is only run when package not present