remove assert

Convert an `assert` into a log warning. @dinhviethoa

Hoa, I see this trigger frequently when I open an existing folder as a project, and sometimes when creating a new js web app with polymer, after the bower job finishes and the `bower_components` directory is created. You need to run spark in Dartium in order to see the assert trigger.