Make regexp to match fpm's output slightly more robust.

no issue #