Detect env path

Based on host.  Environment path is used to separate test and prod data
in Firebase and S3.