Fix condition in %-role target