fixing logic in determining ENVIRONMENT_MANIFEST

we want to be able to specify absolute paths as well as relative, so a
bit of logic was added to faciliate this.