Moves card to new gssha working directory

def _update_card_file_location(self, card_name, new_directory):
        """
        Moves card to new gssha working directory
        """
        with tmp_chdir(self.gssha_directory):
            file_card = self.project_manager.getCard(card_name)
            if file_card:
                if file_card.value:
                    original_location = file_card.value.strip("'").strip('"')
                    new_location = os.path.join(new_directory,
                                                os.path.basename(original_location))
                    file_card.value = '"{0}"'.format(os.path.basename(original_location))
                    try:
                        move(original_location, new_location)
                    except OSError as ex:
                        log.warning(ex)
                        pass