scriptsmgr: use op.realpath to prevent empty dir names
scriptsmgr: use op.realpath to prevent empty dir names

op.dirname('foo.mp4') returns ''. Using realpath() translates this to a
valid path in _dirs_to_watch to prevent watchdog from failing miserably.

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl