Fixed DirectoryNotFoundException if no Scripts/Views

The method `RegisterViewBundles` was crashing with a `DirectoryNotFoundException` if *Scripts/Views* did not exist.

The fix is identical to the commit f6e10e5246a2b80593c778eb080998a23d0ad505 which looks like it was fixing the same issue.