The warehouse task is a bit difficult. I think putting a savepoint once you enter would be a good idea.
if you get fucked twice you can back and all the guard will be gone