Refactoring assets method to remove an unnecessary return statement.

There's a portion of the code which doesn't actually need a return statement. I've refactored it so that the code doesn't need to explicitly make a call to ``defined?``.