Empty list before adding to it.

Signed-off-by: Staartvin <mijnleraar@msn.com>
Added extra option to disable dependency spam.

Signed-off-by: Staartvin <mijnleraar@msn.com>