add another file to detect platform type

Amazon Linux distributions may not include a redhat-release file.

Needs some further testing.