Remove trailing period
Add step to ensure the master branch is always checked out before fetching