Small fix

There was a problem when running regtests using another plumed
executable (e.g. the one installed). In particular
a wrong warning was shown. This is fixed now.