Add support for HEAD so we can run smoke tests

@gjvis @stevenwilkin