if no transitive dependency selected go to end of step

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>