Fix  detection of bower dependencies installed from http(s)

this.lookupBowerPackageVersion(name) returns null if a dependency is installed from http(s) and so the version check fails.