Added verification for hostUrl to mirror what the modified usemin does