there was a 500 being thrown every time there was a slash at the end of a directory while adding in a new trigger this stops that 500 from coming
users can only specify the folder and the dockerfile must be names "Dockerfile" this allows users to specify the file and it can be called "Dockerfile" or <some name>.Dockerfile