This logic belongs in cordova-blackberry.

https://issues.apache.org/jira/browse/CB-4570