preventing retrieved dependencies from being commited