More robust parsing of Target's depends attribute. PR: 3390 Submitted by: Phil Hanna <phanna@ipass.net>