Two minor fixes

Add relativePath value, so the extension example compiles
Fix sed command in slave.sh to get default master host and port