Updated resource agent checks

- Will check for pacemaker resource agents if ocf:pacemaker is not
  defined
- Fixed a segfault when a missing agent is specified