Partial fix to Issue #22

Added 5.3 friendly fix to the realPath value for creating a new record in the environments.json file.

New value writes the path to the environment root folder into the path key's value for storage in the environments.json file.

Tests run and passed.

Thanks @ramsey