Bower: only ignore /.*

Fixes #12929—maybe :laughing:.

/cc @cvrebert