Not necessarily. You could be an employee of said warehouse, and the guard dogs could be riled up or poorly trained. I've seen dogs behave unreasonably only a few times, but in none of those cases was the human they attacked doing anything wrong at all, they were just in the wrong place at the wrong time.
(I may be a little biased because a friend of a friend was literally ripped limb from limb by dogs and killed, whilst trying to prevent them from attacking a woman and her baby. Supposedly tame dogs too.)