Handling of comma-separated dependencies

Signed-off-by: Arpit Goyal <agmps17@gmail.com>