health-check: Fixing exception on bwps matching

When getting the bwps performance, the int() conversion was generating
an exception caught by the one made for handling regexp exception.

As a result, a simple conversion error lead to no data at all.

This commit insure the try/catch is better placed and the conversion
works better.