Only show upload page action in File namespace if page doesn't already exist

Also fixing indentation of comment

Bug: 66500
Change-Id: Ib58a943b83b4c423a3876f8fef730cefc5bf052b
Merge "Only show upload page action in File namespace if page doesn't already exist"