Fix for mount_point location check in resource provider

When using a string as mount_point the check breaks with a can't convert symbol to integer.
The check for the string location needs to come before the check for the hash location.