Custom domain sites without a custom pin app should be set to use the default app.
Merge pull request #3177 from openscholar/custom-domain-pin

Fix possible variable issue when private files form is save