Improve "depends" awk statement

We can save a set of braces by using "continue". Also removed a spurious
variable assignment.