Sanitizing the path to the provided Dockerfile