Error checking (with unit test) for branch creation (APPENG-2583)
Gracefully handle no resource when showing details (APPENG-2753,APPENG-2783)