A workaround for the missing rt_tables file in boot2docker

1. Adding the `dirname` allows to execute the script from any directory
2. Workaround for the misplaced rt_tables file cf. [#367](https://github.com/boot2docker/boot2docker/issues/367)